package com.wenjiang.model.request;


import com.alibaba.fastjson.annotation.JSONField;
import com.wenjiang.annotation.Required;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Map;

/**
 * 获取微信Openid API 请求对象
 *
 * @author luowenjiang
 * @date 2024-01-02 14:21:15
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class LantuWxPayGetWechatOpenIdWxRequest extends AbstractWxRequest implements Serializable {
    
    @JSONField(name = "callback_url")
    @Required
    private String callbackUrl;
    
    @JSONField(name = "attach")
    private String attach;


    @Override
    public Map<String, String> storeParams(Map<String, String> map) {
        map.put("callback_url",callbackUrl);
        map.put("attach",attach);
        return map;
    }
}
